clear;
addpath("函数\");
I = imread("./原图像/LENA256灰度图.BMP");
%Logistic混沌处理
I = Logistic(I);
subplot(1,2,1);
imshow(I);
title('混沌映射后图像');
%加密
E = encryption(I);
%展示并存储
subplot(1,2,2);
imshow(E);
title("插值后图像");
imwrite(E, "./加密图像/灰度图加密.bmp")